package com.cgbl.cg.vm.order

import android.app.Application
import com.cgbl.cg.vm.mine.PersonalProfileViewModel
import com.robot.base.base.vm.GLBaseViewModel
import me.goldze.mvvmhabit.binding.command.BindingAction
import me.goldze.mvvmhabit.binding.command.BindingCommand
import me.goldze.mvvmhabit.bus.event.SingleLiveEvent

class PayResultViewModel(application: Application) : GLBaseViewModel(application) {

    val uc = UiChangeEvent()

    val clickSelectCouponCommand = BindingCommand<Any>(BindingAction {
        uc.showSelectCouponPop.postValue("")
    })

    class UiChangeEvent {
        val showSelectCouponPop: SingleLiveEvent<String> = SingleLiveEvent()
    }

}